// import {deleteAffiliate, getAffiliate} from '@/base/api/AffiliateApi';
import {FamilyMemberInfo} from '@/base/model/FamilyMemberInfo';
import {getMemberInfo} from "@/base/api/FamilyApi";
import {deepAssign} from "@/base/util/Objects";

export class InfoBloc {
  form = new FamilyMemberInfo();
  loading = false;

  load(memberId: number) {
    debugger;
    return getMemberInfo(memberId)
      .then((res) => {
        console.log(res);

      });
  }
  // removeItem(id: number) {
  //   this.loading = true;
  //   return deleteAffiliate(id)
  //     .finally(() => {
  //       this.loading = false;
  //     });
  // }
}
